
package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.member.api.dto.PointsInfoDTO;
import com.shycloud.mido.member.api.entity.PointsInfo;
import com.shycloud.mido.member.api.vo.PointsInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 积分管理
 *
 * @author lxy
 * @date 2019-03-05 20:15:45
 */
public interface PointsInfoMapper extends BaseMapper<PointsInfo> {

	/**
	 * 分页查询积分信息
	 *
	 * @param page          分页
	 * @param pointsInfoDTO 查询参数
	 * @return list
	 */
	IPage<List<PointsInfoVO>> getPointsVosPage(Page page, @Param("query") PointsInfoDTO pointsInfoDTO);
}
